package com.bottle.mode;

import lombok.Data;

import java.util.Set;

/**
 * @author chenyuncong
 * @date 2020-05-04 22:52
 * 桥梁信息集合
 */
@Data
public class BridgeInfo {
//    private String bridgeInfoId;
    private Set<String> userIds; //用户id

    public boolean checkUserId(String userId){
        return userIds.contains(userId);
    }
}
